.match-container {
  max-width: 2000x;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.select-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 20px;
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}

.cube-select,
.round-select {
  width: 120px;
}

.school-info {
  text-align: center;
  flex: 1;
  padding: 20px;
  transition: transform 0.3s ease;
}

.school-info:hover {
  transform: translateY(-5px);
}

.school-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.score-container {
  display: flex;
  justify-content: center;
}

.score-badge {
  font-size: 48px;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 12px;
  background: white;
  color: #409EFF;
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
  transition: all 0.3s ease;
}

.score-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(64, 158, 255, 0.3);
}

.vs-badge {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vs-text {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(45deg, #409EFF, #F56C6C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home .score-badge {
  background: linear-gradient(135deg, #E3F2FD, #FFFFFF);
  color: #409EFF;
}

.away .score-badge {
  background: linear-gradient(135deg, #FFF3F3, #FFFFFF);
  color: #F56C6C;
}

.vs {
  font-size: 24px;
  font-weight: bold;
  margin: 0 20px;
}

.score {
  font-size: 48px;
  font-weight: bold;
  color: #409EFF;
}

.rounds-info {
  margin-bottom: 30px;
}

.round-item {
  margin: 10px 0;
  font-size: 16px;
}

.round-title {
  font-weight: bold;
  margin-right: 10px;
}

.round-winner {
  color: #67C23A;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px;
  padding: 24px;
}

.match-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 16px;
  min-width: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
  text-align: center;
  margin-bottom: 16px;
}

.match-number {
  font-size: 18px;
  font-weight: bold;
  color: #606266;
}

.player-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.player {
  text-align: center;
  flex: 1;
}

.player-home .player-name,
.player-home .score {
  color: #409EFF;
}

.player-away .player-name,
.player-away .score {
  color: #F56C6C;
}

.player-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.player-school {
  font-size: 14px;
  color: #909399;
}

.vs {
  margin: 0 12px;
  color: #909399;
  font-weight: bold;
}

.rounds {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.round {
  background: #F5F7FA;
  border-radius: 4px;
  padding: 12px;
}

.round-title {
  font-size: 14px;
  color: #606266;
  margin-bottom: 8px;
}

.round-scores {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.score {
  font-size: 18px;
  font-weight: bold;
}

.round-result {
  text-align: center;
  margin-top: 8px;
  color: #67C23A;
  font-size: 14px;
}

.additional-rounds {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #EBEEF5;
}

.additional-round {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #909399;
  margin: 4px 0;
}

.additional-round-title {
  margin-right: 8px;
}

.additional-score {
  font-family: monospace;
}